<?php get_header(); ?>
<!-- content -->
<div id="content">
	<div id="main-content" class="white centerBox">
		<div id="left-content" class="float-left">
		<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
			<div class="post shadow PIE">
				<!-- post title -->
				<div class="post-title block-space above font11 regular16bit">
				   <a href="<?php the_permalink() ?>"><?php the_title(); ?></a>
				</div>
				<!-- post image -->
				<div class="post-image block-space centerBox">
					<!-- habilita miniatura na postagem -->
					<?php the_post_thumbnail(); ?>
				</div>	
				<!-- post description -->
				<div class="post-description block-space">
					<span><?php the_content(); ?></span>
					<iframe src="http://www.facebook.com/plugins/comments.php?href=www.gamaarcade.com.br&permalink=1" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:130px; height:16px;" allowTransparency="true"></iframe> 
					<div class="fb-comments" data-href="<?php the_permalink() ?>" data-width="590" data-num-posts="10"></div>
				</div>
				<!-- post tags -->
				<div class="post-tags block-space">
					<span class="font7">Tags: <?php the_tags(','); ?></span>
				</div>
				<!-- post date/who -->
				<div class="post-date float-right font7">Publicado por <?php the_author() ?> em <?php the_time('d/M/Y') ?></div>
				<div class="clear">
				</div>
			</div>
		<?php endwhile?>
			<div>
				<div><?php next_posts_link('&laquo; Artigos Anteriores') ?></div>
				<div><?php previous_posts_link('Artigos Recentes &raquo;') ?></div>
			</div>
		<?php else: ?>
			<div class="artigo">
				<h2>Nada Encontrado</h2>
				<p>Erro 404</p>
				<p>Lamentamos mas não foram encontrados artigos.</p>
			</div>            
		<?php endif;?>	
		</div>
		<div id="right-content" class="float-right">
			<?php get_sidebar(); ?>
		</div>
		<div class="clear">
		</div>
	</div>
</div>
<?php get_footer(); ?>